/**
 * Generic CakePHP 2.x design features.
 *
 * Combine with Zurb foundation for awesome results.
 */
/*!
 * Web Fonts from fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2011 Fontspring
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      exljbris
 * License URL: http://www.fontspring.com/fflicense/exljbris
 */
@font-face {
    font-family: 'MuseoSlab500';
    src: url('Museo_Slab_500-webfont.eot');
    src: url('Museo_Slab_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('Museo_Slab_500-webfont.woff') format('woff'),
         url('Museo_Slab_500-webfont.ttf') format('truetype'),
         url('Museo_Slab_500-webfont.svg#MuseoSlab500') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Container elements */
html {
	width: 100%;
}
body {
	color: #000;
	background: #fff;
	font-family: Arial;
	width: 100%;
}

/* Headings */
h1, h2, h3, h4, h5 {
	font-family: MuseoSlab500, Helvetica, Arial;
	font-weight: normal;
}
h1 {
	font-size: 30px;
	font-size: 3.0rem;
	color: #C92434;
}
h2 {
	font-size: 28px;
	font-size: 2.8rem;
	color: #C92434;
}
h3, h4 {
	font-size: 24px;
	font-size: 2.4rem;
	color: #BD8A5D;
}
h5, h6 {
	font-size: 21px;
	font-size: 2.1rem;
	color: #BD8A5D;
}

/* Links */
a {
	color: #417282;
}
a:focus,
a:hover {
	color: #003D4C;
	text-decoration: underline;
}

/* General button */
.offline-download a,
.button {
	font-family: MuseoSlab500, Helvetica, Arial;
	font-weight: normal;
	
	-webkit-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.30);
	-moz-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.30);
	-o-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.30);
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.30);
	
	border: 1px solid #a61e2b;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
}
.offline-download a:focus,
.offline-download a:hover,
.button:hover,
.button:focus {
	text-decoration: none;
	-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}
.offline-download a:active,
.button:active {
	outline: 0;
	-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Pale blue buttons */
.button.pale {
	background: #b2cccd;
	background-image: -webkit-linear-gradient(top, #b2cccd, #a1bebf);
	background-image: -moz-linear-gradient(top, #b2cccd, #a1bebf);
	background-image: -o-linear-gradient(top, #b2cccd, #a1bebf);
	background-image: linear-gradient(top, #b2cccd, #a1bebf);
	border-color: #698b8c;
}
.button.pale:focus,
.button.pale:hover {
	background: #aac5c6;
	border-color: #507273;
}

/* Red buttons */
.offline-download a,
.button.red {
	background: #C92434;

	background-image: -webkit-linear-gradient(top, #e01b2f, #c92434);
	background-image: -moz-linear-gradient(top, #e01b2f, #c92434);
	background-image: -o-linear-gradient(top, #e01b2f, #c92434);
	background-image: linear-gradient(top, #e01b2f, #c92434);

}
.offline-download a:focus,
.button.red:focus,
.offline-download a:hover,
.button.red:hover {
	background: #d62738;
	border-color: #8c1925;
}



/* Preformatted text */
pre, code {
	font-family: "Bitstream Vera Sans Mono", "Consolas", "Monaco", monospace;
}
pre {
	margin-bottom: 18px;
	overflow-x: auto;
    padding: 8px;
    background: #f2f2f2;
    color: #222;
    line-height: 120%;
    -moz-box-shadow: inset 0px 1px 4px rgba(0,0,0,0.15);
    -webkit-box-shadow: inset 0px 1px 4px rgba(0,0,0,0.15);
    box-shadow: inset 0px 1px 4px rgba(0,0,0,0.15);
}
pre::-webkit-scrollbar {
    height: 10px;
}
pre::-webkit-scrollbar-track-piece {
    background: #ddd;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}
pre::-webkit-scrollbar-thumb:horizontal {
    background: #c0c0c0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}


/* lists */
ul, ol {
	margin-left: 30px;
}
ul {
	list-style: disc outside;
}
ul ul {
	margin: 9px 0 9px 30px;
}

/* def list */
dl.docutils {
	margin: 2em 0;
	padding: 0;
}
.docutils dt {
	font-weight: bold;
	font-size: 14px;
	font-size: 1.4rem;
}
.docutils dd {
	border-left: 2px solid #ccc;
	margin: 0 0 1em 1em;
	padding: 0 0 .5em .5em;
	font-size: 14px;
	font-size: 1.4rem;
}

/* tilted header */
.masthead {
	background: #417282 url(header-bg.png) repeat-x;
	position: relative;
	overflow: hidden;
}
.header-backing {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 0;
	background: url(header-halftone.png) repeat-x;

	-webkit-transform: rotate(-2.8deg);
	-moz-transform: rotate(-2.8deg);
	transform: rotate(-2.8deg);
	
	-webkit-transform-origin: top center;
	-moz-transform-origin: top center;
	transform-origin: top center;
}
.masthead .row {
	z-index: 1;
	position: relative;
}

/* footer */
.footer {
	background: #B2CCCD url(pale-halftone-bottom.png) top left repeat-x;
	padding: 10px 0;
}

/* Inline */
.panel.flyout {
	border: 3px solid #C92434;
}

/* Reveal modal dialogs */
.reveal-modal {
	background-image: none;
	border: 4px solid #417282;

	-webkit-box-shadow: 4px 4px 0 #003D4C;
	-moz-box-shadow: 4px 4px 0 #003D4C;
	box-shadow: 4px 4px 0 #003D4C;
	
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

/* promo spot on home page */
.offline-download {
	padding: 20px 20px 2px 215px;
	background: #fff url(./interact.png) 10px 10px no-repeat;
	border: 2px solid #417282;
	-webkit-box-shadow: 0 0px 5px rgba(0,0,0,0.15);
	-moz-box-shadow: 0 0px 5px rgba(0,0,0,0.25);
	box-shadow: 0 0px 5px rgba(0,0,0,0.15);

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

	margin: 0 0 20px 0;
	min-height: 150px;
}
.offline-download ul {
	margin: 0;
}
.offline-download li {
	display: inline-block;
	list-style: none;
}
.offline-download a {
	display: inline-block;
	text-align: center;
	padding: 9px 34px 11px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	line-height: 1;
	font-family: "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif;
	position: relative;
	cursor: pointer;
}

#cakephp-global-navigation .nav-select {
	display: none;
}
/**
 * Responsive CSF navbar override.
 */
@media only screen and (max-width: 1000px) {
	#cakephp-global-navigation li.main {
		margin-left: 10px;
	}
}
@media only screen and (max-width: 727px) {
	#cakephp-global-navigation .nav-select {
		display: block;
		position: absolute;
		top: 3px;
		right: 10px;
	}
	#cakephp-global-navigation li {
		display: none;
	}
	#cakephp-global-navigation .main {
		display: block;
	}

}
